package com.syyo.gulimall.order.feign;

import com.syyo.gulimall.order.domain.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @ author wang
 * @ date: 2021/4/26 15:08
 * @ Description:
 */
@FeignClient("gulimall-cart")
public interface CartFeign {

    @GetMapping("/currentUserCartItems")
    public List<OrderItemVo> getCurrentUserCartItems();

}
